# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class MigrateProgress(object):

    def __init__(self, sourceKeysCount=None, targetKeysCount=None, percent=None, checkPhase=None, startTime=None):
        """
        :param sourceKeysCount: (Optional) 源端key数量，即key总数量
        :param targetKeysCount: (Optional) 目的端key数量，即已迁移的key数量
        :param percent: (Optional) 迁移key数量百分比
        :param checkPhase: (Optional) 数据校验状态（CheckPhaseInit：初始化，CheckPhaseRunning：检验中，CheckPhaseFinished：验证完成）
        :param startTime: (Optional) 迁移启动时间(ISO 8601标准的UTC时间，格式为：YYYY-MM-DDTHH:mm:ssZ)
        """

        self.sourceKeysCount = sourceKeysCount
        self.targetKeysCount = targetKeysCount
        self.percent = percent
        self.checkPhase = checkPhase
        self.startTime = startTime
